#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "cpage.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

public slots:
    void doBtnCommand()    ;

private:
    Ui::Widget *ui;
    int m_cur_page = 1;
    int m_per_page = 15;
    int m_total_page = 0;
    QString m_keyword =  "";
    CPage *mypage;
    QStringList m_filterList = {"name"};


};
#endif // WIDGET_H
